package com.sojson.util.pay.wx.bean.child.param;

import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.sojson.base.impl.BaseUtilDto;

/**
 * 微信订单金额Bean
 * 
 * @author liu
 * @date 2021-04-01
 */
public class WxPamGoodsDetail extends BaseUtilDto {

    /***/
    private static final long serialVersionUID = 2231406852564862492L;

    /** 商户侧商品编码 */
    private String merchantGoodsId;
    /** 微信侧商品编码 */
    private String wechatpayGoodsId;
    /** 商品名称 */
    private String goodsName;
    /** 商品单价(单位为分) */
    private Integer unitPrice;
    /** 商品退款金额(单位为分) */
    private Integer refundAmount;
    /** 商品退货数量 */
    private Integer refundQuantity;

    /** 获取商户侧商品编码 */
    @JsonProperty("merchant_goods_id")
    @JSONField(name = "merchant_goods_id")
    public String getMerchantGoodsId() {
        return merchantGoodsId;
    }

    /** 设置商户侧商品编码 */
    public void setMerchantGoodsId(String merchantGoodsId) {
        this.merchantGoodsId = merchantGoodsId;
    }

    /** 获取微信侧商品编码 */
    @JsonProperty("wechatpay_goods_id")
    @JSONField(name = "wechatpay_goods_id")
    public String getWechatpayGoodsId() {
        return wechatpayGoodsId;
    }

    /** 设置微信侧商品编码 */
    public void setWechatpayGoodsId(String wechatpayGoodsId) {
        this.wechatpayGoodsId = wechatpayGoodsId;
    }

    /** 获取商品名称 */
    @JsonProperty("goods_name")
    @JSONField(name = "goods_name")
    public String getGoodsName() {
        return goodsName;
    }

    /** 设置商品名称 */
    public void setGoodsName(String goodsName) {
        this.goodsName = goodsName;
    }

    /** 获取商品单价(单位为分) */
    @JsonProperty("unit_price")
    @JSONField(name = "unit_price")
    public Integer getUnitPrice() {
        return unitPrice;
    }

    /** 设置商品单价(单位为分) */
    public void setUnitPrice(Integer unitPrice) {
        this.unitPrice = unitPrice;
    }

    /** 获取商品退款金额(单位为分) */
    @JsonProperty("refund_amount")
    @JSONField(name = "refund_amount")
    public Integer getRefundAmount() {
        return refundAmount;
    }

    /** 设置商品退款金额(单位为分) */
    public void setRefundAmount(Integer refundAmount) {
        this.refundAmount = refundAmount;
    }

    /** 获取商品退货数量 */
    @JsonProperty("refund_quantity")
    @JSONField(name = "refund_quantity")
    public Integer getRefundQuantity() {
        return refundQuantity;
    }

    /** 设置商品退货数量 */
    public void setRefundQuantity(Integer refundQuantity) {
        this.refundQuantity = refundQuantity;
    }

}